//
//  NCChatViewRightAudioCell.m
//  AGEmojiKeyboard
//
//  Created by LINAICAI on 2018/4/18.
//

#import "NCChatViewRightAudioCell.h"

@implementation NCChatViewRightAudioCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.usrNameLabel.font = [UIFont systemFontOfSize:13];
    self.usrNameLabel.textColor = [UIColor grayColor];
    
    
    self.avatorImage.layer.cornerRadius = 34.0/2;
    self.avatorImage.layer.masksToBounds = YES;
    self.avatorImage.image = NCChatUIImage(@"avatar_user");
        
    self.contentImage.tintColor = [UIColor colorWithRed:67/255.0 green:177/255.0 blue:255/255.0 alpha:1.0];
    self.contentImage.image = [[NCChatUIImage(@"icon_sender_text_node_normal")imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate] resizableImageWithCapInsets:UIEdgeInsetsMake(20, 20, 20, 20) resizingMode:UIImageResizingModeStretch];
    
    self.audioImage.image = NCChatUIImage(@"audio_right_3");
}
- (NSArray<UIImage *> *)animationImages{
    static NSArray *images = nil;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        images = @[NCChatUIImage(@"audio_right_1"),NCChatUIImage(@"audio_right_2"),NCChatUIImage(@"audio_right_3")];
    });
    return images;
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
